home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / Xconq 7.0d37 / source / test / test-test < prev    next >
Encoding:
Text File  |  1995-02-02  |  450 b   |  19 lines  |  [TEXT/R*ch]

  1. #!/bin/csh
  2. # Iterate through all test modules, attempting to start up,
  3. # do some simple commands, and quit.
  4.  
  5. set srcdir = $1
  6.  
  7. set logname = test.log
  8.  
  9. /bin/rm -f $logname
  10. echo Test started on `date` > $logname
  11. foreach i ( $srcdir/../test/*.g )
  12.     echo $i
  13.     echo "" >>$logname
  14.     echo ">>> Running skelconq on: " $i "<<<" >>$logname
  15.     echo "" >>$logname
  16.     ../kernel/skelconq -f $i <$srcdir/libtest.inp >>&$logname
  17. end
  18. echo Test finished on `date` >> $logname
  19.